-- GENERATED SPELL FOR [Fel Imp Defender] --


function spell0_23078(pUnit, Event) --@Fireball,n/a--
pUnit:FullCastSpellOnTarget(40554,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23078', 3000, 1)
end

function Sorts_23078(pUnit, Event)
local choix_sorts_23078 = math.random(0, 0)
if choix_sorts_23078 == 0 then
pUnit:RegisterEvent('spell0_23078', 1, 1)
end
end

function mob23078_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23078', math.random(1500, 3000), 1)
end

function mob23078_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23078_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23078_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23078, 1, 'mob23078_Action')
RegisterUnitEvent(23078, 2, 'mob23078_Leave')
RegisterUnitEvent(23078, 3, 'mob23078_Kill')
RegisterUnitEvent(23078, 4, 'mob23078_Die')
